package com.hy.chat.client;

import java.util.List;

import com.extjs.gxt.ui.client.data.BaseModel;
import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface ChatServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	
	void getIndexAndMessage(BaseModel indexAndMessage, AsyncCallback<BaseModel> callback)
			throws IllegalArgumentException;
	
	void getAdminIndexAndMessage(List<BaseModel> indexAndMessageList, AsyncCallback<List<BaseModel>> callback)
			throws IllegalArgumentException;
	

}
